package cn.zebra.dev.mall.module.orders.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author runnable@sina.cn
 */
@Getter
@Setter
@ToString
public class OrdersUpdateAddressVO {

    @ApiModelProperty("用户收获地址id")
    @NotNull(message = "请选择用户地址！")
    @Min(value = 1, message = "请选择用户地址!")
    private Long addressId;
}
